package com.longdaji.decoration.ui.activitiesOfMine.receivingAddress;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;

import java.util.List;

import chihane.jdaddressselector.model.City;
import chihane.jdaddressselector.model.County;
import chihane.jdaddressselector.model.Province;

/**
 * Created by Kanade on 2018/1/21 0021.
 */

public interface ReceivingAddressContract {
    interface View extends BaseView {

        void showResult(boolean isSucceed);

        void showUpdateAddrSuccess();

        void showUpdateAddrFail();
    }

    interface Presenter extends BasePresenter<View> {
        void onFinishClick(String userid, String contactPerson, String contactTelephone,
                           String province, String city, String district, String street,
                           String detailAddress, String createTime, String defaultAddress,
                           int shippingId, String zipcode, String delFlag);

        void initCampusPicker();

        List<Province> getProvince();

        List<City> getCity();

        List<County> getCampus();

    }
}
